/*
 * @Descripttion: 社区api
 * @version: 
 * @Author: 
 * @Date: 2022-04-24 08:59:45
 * @LastEditors: weidelong
 * @LastEditTime: 2022-05-06 20:09:57
 */
import request from "../request.js"

// 图片上传
export function uploadImg(params) {
    return request({
        url: '/uploadImg',
        method: 'post',
		headers: {
		    'Content-Type': 'multipart/form-data'
		},
        data: params
    })
}

// 圈子上传
export function releaseGraphic(params) {
    return request({
        url: '/releaseGraphic',
        method: 'post',
        data: params
    })
}

// 圈子动态
export function getGraphicData(params) {
    return request({
        url: '/getGraphicList',
        method: 'get',
        params
    })
}

// 评论
export function sendComments(params) {
    return request({
        url: '/sendComments',
        method: 'post',
        data: params
    })
}